*{
    padding: 0;
    margin: 0;
}

input{
    outline: none;
}

img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.icon {
   width: 1em;
   height: 1em;
   vertical-align: -0.15em;
   fill: currentColor;
   overflow: hidden;
}

body{
    display: flex;
    flex-flow: wrap row;
    justify-content: center;
    align-content: center;
}

header{
    width: 100%;
    height: 60px;
    background-color: black;
    border-bottom: 1px solid #ddd;
}

nav{
    width: 95%;
    height: 60px;
    margin: auto;
    background-color: black;
}

nav div{
    display: inline-block;
}

.logo{
    width: 200px;
    height: 60px;
    text-align: center;
    line-height: 70px;
    font-size: 25px;
    color: white;
    position: absolute;
}

.logo>img{
    border-radius: 0;
    width: 150px;
    height: 60px;
    background-color: black;
}

.nav_search{
    width: 240px;
    height: 60px;
   /* border: 1px solid #ddd;*/
    margin-top: 10px;
    position: absolute;
    left:280px;
}

.nav_search input{
    background-color: transparent;
    color: white;
    width: 180px;
    height: 20px;
    margin-top: 15px;
    border: none;
    border-bottom: 1px solid gray;
}

.icon_search{
    color: white;
}

.icon_search:hover{
    color: red;
    cursor: pointer;
}

.nav_login{
    width: auto;
    height: 70px;
    position: absolute;
    right: 2.5%;
    /*display: none;*/
}

.nav_login ul li{
    cursor: pointer;
    color: gray;
    float: left;
    list-style: none;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 70px;
}

.nav_login ul li:hover{
    color: red;
}


/*已登录*/
 #img_own{
    width: 50px;
    height: 50px;
    background-color: #ddd;
    text-align: center;
    margin-top: 5px;
    position: absolute;
    right: 2.5%;
    border-radius: 100%;
    display: none;
}


/*=================================================
    身体部分
=============================================*/        
 section {
    margin: 0 auto;
    width: 100%;
    display: flex;   
    justify-content: center;
    flex-flow: row wrap;
     margin-top: 30px;
}

 
/*评论区*/
.comments-list{
    width: 700px;
    height: auto;
    background-color: white;
    /*border: 1px solid #ddd;*/
}




/*评论区内容*/
.comments-content{
    width: 700px;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.comments-perimg{
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: antiquewhite;
    position: relative;
}

.comments-perimg img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    
}

.perimg-name{
    position: absolute;
    left: 60px;
    top: 15px;
    color: gray;
    display: inline-block;
    width: 500px;
    
}

.comments-quename{
    margin-top: 20px;
    padding-left: 20px;
    font-size: 18px;
    font-weight: 600;
}

.comments-quetime{
    width: 700px;
    height: 30px;
    background-color: white;
    margin-top: 20px;
    font-size: 12px;
    color: #ccc;
    
}

.comments-quetime span{
    display: inline-block;
    margin-top: 5px;
    /*margin-top: 15px;*/
}

.comments-quetime span:nth-child(1){
    margin-left: 20px;
}

.comments-quetime span:nth-child(2){
    margin-left: 20px;   
}
    
#comments-count{
    margin-left: 420px;
}




/*一级评论*/
.comments-ansbox1{
    clear: both;
    width: 700px;
    height: auto;
    border-bottom: 1px solid #ddd;
    padding-bottom: 30px;
    position: relative;
}

.ansbox1-perimg{
    width: 50px;
    height: 50px;
    background-color: antiquewhite;
    border-radius: 50%;
    position: absolute;
    margin-left: 30px;
    margin-top: 10px;
    display: inline-block;
    
}


.ansbox1-pername{
    /*
    height: 30px;*/
    position: absolute;
    display: inline-block;
    top: 65px;
    left: 30px;
    font-size: 12px;
    color: gray;
}

.ansbox1-content{
    width: 580px;
    height: auto;
    display: inline-block;
    position: relative;
    top: 15px;
    left: 110px;
    white-space: normal;
    word-break: break-all;
}

.ansbox1-time{
    
    width: 580px;
    padding-top: 10px;
    height: auto;
    display: inline-block;
    position: relative;
    left: 0;
    top: 0px;
    font-size: 12px;
    color: #ccc;
}

.ansbox1-time span{
    display: inline-block;
    margin-top: 5px;
}

.ansbox1-time span:nth-child(1){
    margin-left: 0px;
}
.ansbox1-icon{
    margin-left: 400px;
    color: #ccc;
}
.ansbox1-time span .has_click{
    color:red;
}

.ansbox1-time span:nth-child(4){
    margin-left: 15px;
}




/*二级评论*/
.comments-ansbox2{
    clear: both;
    width: 700px;
    height: auto;
    border-bottom: 1px solid #ddd;
    padding-bottom: 40px;
    position: relative;
}

.ansbox2-perimg{
    width: 50px;
    height: 50px;
    background-color: antiquewhite;
    border-radius: 50%;
    position: absolute;
    margin-left: 80px;
    margin-top: 10px;
    display: inline-block;
    
}


.ansbox2-pername{
    /*
    height: 30px;*/
    position: absolute;
    display: inline-block;
    top: 10px;
    left: 170px;
    font-size: 12px;
    color: gray;
}

.ansbox2-pername span:nth-child(odd){
    color: red;
}

.ansbox2-content{
    width: 500px;
    height: auto;
    display: inline-block;
    position: relative;
    top: 30px;
    left: 170px;
    white-space: normal;
    word-break: break-all;
}

.ansbox2-time{
    
    width: 580px;
    padding-top: 10px;
    height: auto;
    display: inline-block;
    position: relative;
    left: 0;
    top: 0px;
    font-size: 12px;
    color: #ccc;
}

.ansbox2-time span{
    display: inline-block;
    margin-top: 5px;
}

.ansbox2-time span:nth-child(1){
    margin-left: 0px;
}
.ansbox2-icon{
    margin-left: 400px;
    color: #ccc;
}

.ansbox2-time span:nth-child(4){
    margin-left: 15px;
}




/*回答问题框1---一级评论*/
.comments-answrite1{
    width: 700px;
    height: 200px;
    position: relative;
}

.comments-answrite1 img{
    position: absolute;
    top: 10px;
    left: 40px;
}

.comments-answrite1 form{
    position: absolute;
    left: 100px;
    top: 15px;
}

.comments-answrite1 form>textarea{
    resize: none;
}

.comments-answrite1 form>button{
    color: white;
    width: 90px;
    height: 35px;
    background-color: red;
    border:none;
    font-size: 16px;
    border-radius: 4px;
    position: absolute;
    right: 0px;
    top: 170px;
}



.answer-rep:hover, .comment-rep:hover{
    color: red;
    cursor: pointer;
}




/*回答问你框2---二级评论*/
.comments-answrite2{
    clear: both;
    width: 700px;
    height: 140px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 30px;
    position: relative;
}

.comments-answrite2 img{
    position: absolute;
    left: 80px;
    top:10px;
}

.comments-answrite2 form{
    position: relative;
    left: 160px; 
    top: 15px;
}

.comments-answrite2 form>textarea{
    resize: none;
    width: 510px;
    height: 80px;
}

.comments-answrite2 form>button{
    color: white;
    width: 70px;
    height: 35px;
    border:none;
    font-size: 16px;
    border-radius: 4px;
    position: absolute;
    right: 190px;
    top:100px;
}


.comments-answrite2 form>button.cancel2{
    right: 260px;
}



.cancel2{
    background-color: #ccc;
}

.commit2{
    background-color: red;
}




/*个人推荐*/
.personal-list{
    margin-top: 30px;
    width: 400px;
    height: 600px;
    margin-left: 80px;
    background-color: white;
   /* border: 1px solid #ddd;*/
}

.find-ques{
    width: 400px;
    height: 30px;
    font-size: 18px;
    border-bottom: 1px solid #ddd;
    background-color: #ddd;
    color: white;
}

#findque-lists li{
    list-style: none;
    width: 380px;
    height: auto;
    padding: 10px;
    padding-left: 10px;
}




footer{
    width: 100%;
    height: 30px;
    background-color: black;
    position: relative;
    bottom: 0px;
    margin-top: 100px;
}


/*=============================
    媒体查询
================================*/


@media screen and (max-width:762px) {

    .nav_login{
        display: none;
    }
    
    .img_own{
        display: none;
    }
    
    .personal-list{
        display: none;
    }
}

@media screen and (min-width:762px) and (max-width:1000px) {

    
}

@media screen and (min-width: 992px) {

    
}



